 {

        var o = require("./UISoundManager.js"), i = require("./UIPopupBase.js");
        cc.Class({
            extends: i,
            properties: {
                chuxianAnim: cc.Animation,
                chuxianAnim_title: cc.Animation,
                nodeCollectBtn: cc.Button,
                labCoin: cc.Label,
                everLoopLight: cc.Node,
                loopParticle: cc.Node,
                rewardSp: cc.Sprite,
                nodeRewardTip: cc.Node,
                nodeBtnClose: cc.Node,
                nodeQueDing: cc.Node,
                nodeQuickGet: cc.Node
            },
            init: function () {
            },
            onLoad: function () {
                o.playReward();
            },
            start: function () {
                this.chuxianAnim.on("finished", function () {
                    this.nodeCollectBtn.interactable = !0, this.loopParticle.active = !0, this.chuxianAnim.play("1jinbixunhuan_loop");
                }.bind(this), this), this.scheduleOnce(function () {
                    this.chuxianAnim_title.node.active = !0, this.chuxianAnim_title.play();
                }.bind(this), 0);
            },
            setData: function (e, t, n) {
                this.labCoin.string = Global.utils.exchangeToWan(e.reward) + e.name, this._type = e.type,
                    this.confirmCallback = t, t && "freegive" != this._type && t(), n && null != n && (console.log("shareGroup_RewardPanel setData", n),
                    this._shareRewardTaskID = n, this.nodeQuickGet.active = !0, this.nodeQueDing.active = !1,
                    this.nodeBtnClose.active = !0, this.nodeRewardTip.active = !0);
            },
            onClickOK: function () {
                o.playEffect("select");
                var e = this;
                if (this.nodeQuickGet && this.nodeQueDing) if (this.nodeQuickGet.active && this._shareRewardTaskID) {
                    var t = {
                        share_type: Global.config.sharePointId.hallShare
                    };
                    tywx.PropagateInterface.getWeightShareConfigInfoByTypeWithShare(t, null, function () {
                        Global.msgHandler.requestShareWorldCup(null, Global.config.rewardType.TASK_SHARE, e._shareRewardTaskID);
                    });
                } else "freegive" == this._type ? this.confirmCallback && this.confirmCallback() : "sevendays" == this._type && Global.userProfile.setAcceptDailyFreeGive(!0);
                this.closePanel(), Global.msgHandler.requestGetUserInfo();
            },
            onBtnClose: function () {
                o.playEffect("select"), this.closePanel(), Global.msgHandler.requestGetUserInfo();
            }
        })
    }